<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt"%>
<%@ page isELIgnored="false"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title>页眉</title>
</head>
<body>
    <center>
        <table border="0" width="100%" cellspacing="0" cellpadding="0">
            <!-- 顶部菜单 -->
            <tr height="20">
                <td style="text-indent:10" valign="bottom">
                    <a href="info/info_Add.action" style="color:gray">[发布信息]</a>
                    <a href="pages/admin/Login.jsp" style="color:gray">[进入后台]</a>
                </td>
                <td align="right" valign="bottom">
                    <a href="#"  style="color:gray" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://localhost:8080/Citylifesystem');">设为主页 -</a>
                    <a href="javascript:window.external.AddFavorite('http://localhost:8080/Citylifesystem','都市供求信息网')" style="color:gray">收藏本页 -</a>
                    <a href="mailto:475266560@qq.com" style="color:gray">联系我们</a>
                    <a href="/Citylifesystem/download/manifest.txt" download="用户手册.txt" target="_blank" style="color:gray">用户手册</a>
                    &nbsp;
                </td>
            </tr>
            <!-- 导航菜单 -->
            <tr height="56">
                <td align="center" width="220" background="images/logo.gif"></td>
                <td align="right" background="images/menu.gif">
                        <table border="0" width="600" id="type">                                 
                        </table>
                </td>
            </tr>
        </table>
        <table border="0" width="100%" height="90" cellspacing="0" cellpadding="0" style="margin-top:1">
            <tr><td align="center"><a href="http://www.java1234.com" target="_blank"><img src="images/pcard1.jpg"></a></td></tr>
        </table>
    </center>
</body>
</html>
<script type="text/javascript">
     function inital() {
		var strHTML = "<td width='100'><a  style='color:white' href='login/back_to_index.action'>首&nbsp;&nbsp;&nbsp;&nbsp;页</a></font></td>";
		$.ajax({
			type : 'get',
			url : 'info/list_infotype.action',
			success : function(data) {
				$.each(data, function(i, o) {
					strHTML += "<td width='100'><a style='color:white' href='info/list_show.action?type_sign="+data[i].type_sign+"'>" + data[i].type_intro + "</a></td>"
					if (i == 4) {
						strHTML += "</tr><tr align='center'>";
					}})
	            strHTML="<tr align='center' >"+strHTML+"</tr>";
	            $("#type").append(strHTML);
			},
			error : function() {
				return;
			}
		});
	}
</script>